Aiming at the problems of high delay and vulnerable to network attack in the traditional microgrid centralized architecture, a collaborative microgrid security defense method in the edge-computing environment is proposed. First, we build the edgecomputing framework for microgrid, deploy the edge-computing server near the equipment terminal to improve the data processing efficiency, and deploy the blockchain in the edge server to ensure the reliability of the system. Then, the fully homomorphic encryption algorithm is used to design the smart contract, and the secure sharing of information is ensured through identity authentication, data encryption call, and so on. Finally, the credibility model is integrated into the election algorithm and is used to build a trusted edge cooperation mechanism to further improve the ability of the system to defend against network attacks. Based on the microgrid model, the experimental demonstration of the proposed method is carried out. The results show that when subjected to a network attack, the current fluctuation range is small and the defense success rate exceeds 95%, which is better than other methods and can better meet the requirements of practical application.
Loading....